package com.zyq.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zyq.common.entity.AclRole;
import com.zyq.common.vo.Result;
import com.zyq.system.vo.FenUserRoleVo;
import com.zyq.system.vo.RoleVo;

import java.util.List;
import java.util.Map;

public interface AclRoleService {
    Result<Map<String, Object>> findRole(String userId);

    Result<String> fenUserRole(FenUserRoleVo fenUserRoleVo);

    /**
     *
     * @param currentPage 第几页
     * @param pageSize 这页的条数
     * @param roleVo 查询的条件
     * @return
     */
    Result<IPage<AclRole>> findRoleByPage(Integer currentPage, Integer pageSize, RoleVo roleVo);


}
